<?php
namespace app\common\model;

class RuleKpiBusin extends Base
{
    public function getDataTimeAttr($val)
    {
        if(!$val) return '';
        return date('Y-m', $val);
    }
}